class Requisito < ActiveRecord::Base
  
  belongs_to :projeto
  has_many :tarefas
  
  validates :nome, :uniqueness => true, :presence => true
  validates :descricao, :presence => true
  validates :pts_historia, :presence => true
  
end
